import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class test {
    public static void main(String[] args) throws IOException {
        Properties properties = new Properties();
        InputStream resourceAsStream = test.class.getClassLoader().getResourceAsStream("druid-config.properties");
        properties.load(resourceAsStream);
        String username = properties.getProperty("username");
        String password = properties.getProperty("password");
        System.out.println(username + password);
    }
}
